

<style>
    .layui-form{padding:15px 0px}
    .layui-form label{text-align: justify;text-align-last: justify}
</style>

<div class="modal-body">


    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" close="true">
            <span aria-hidden="true">×</span>
        </button>
        <h4 class="modal-title">
            <span class="fa fa-legal"></span>&nbsp;详细信息
        </h4>
    </div>

    <form class="form-horizontal layui-form content_main">

        <div class="form-group">
            <label class="col-sm-2 control-label">微信头像</label>
            <div class="col-sm-10 content_div">
                <img src="{$detail.avatar}" width="50px" height="50px;">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">昵称</label>
            <div class="col-sm-10 content_div">
                {$detail.nickname}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">openid</label>
            <div class="col-sm-10 content_div">
                {$detail.openid}
            </div>
        </div>


        <div class="form-group">
            <label class="col-sm-2 control-label">真实姓名</label>
            <div class="col-sm-10 content_div">
                {$detail.realName}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">身份证号</label>
            <div class="col-sm-10 content_div">
                {$detail.idCard}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">性别</label>
            <div class="col-sm-10 content_div">
                {$detail.sexVal}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">手机号</label>
            <div class="col-sm-10 content_div">
                {$detail.mobile}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">积分</label>
            <div class="col-sm-10 content_div">
                {$detail.integral}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">余额</label>
            <div class="col-sm-10 content_div">
                {$detail.balance}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">所在地址</label>
            <div class="col-sm-10 content_div">
                {$detail.address}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">注册时间</label>
            <div class="col-sm-10 content_div">
                {$detail.addtime|date="Y-m-d H:i:s",###}
            </div>
        </div>


    </form>
</div>

<div class="modal-footer">
    <button type="button" class="layui-btn layui-btn-primary" close="true">关闭</button>
<!--    <button type="button" class="btn btn-primary btn-sm" id="newsave" _event="add">保存</button>-->
</div>


<script>

    layui.use(['form','layedit','tree','util'], function() {
        var form = layui.form
            , layer = layui.layer;
        var layedit = layui.layedit;
        var  tree = layui.tree;
        var util = layui.util;


        layui.form.render('select');
        form.render();


    });
</script>

